Determining the physical structure of subscriber lines

ABSTRACT

A method determines a structure of a subscriber line. The method includes searching a reference set for a match between the subscriber line and a model line of the reference set and identifying that the subscriber line has a specific physical structure. The match is based on electrical properties of the lines. The act of identifying is responsive to finding a match with one of the model lines that has the specific physical structure.

[0001] This is a continuation-in-part of Application No. U.S. application Ser. No. 09/294,563, filed Apr. 20, 1999.

BACKGROUND OF THE INVENTION

[0002] This application relates generally to communications networks, and more particularly, to determining electrical properties of multi-wire communication lines.

[0003] Recently, there has been an increased demand for the subscriber lines of plain old telephone services (POTS's) to carry high-speed digital signals. The demand has been stimulated by home access to both the Internet and distant office computers. Both types of access typically employ a POTS line as part of the path for carrying digital signals.

[0004] POTS's lines were built to carry voice signals at audible frequencies and can also carry digital signals as tone signals in the near audible frequency range. Modern digital services such as ISDN and ADSL transmit data at frequencies well above the audible range. At these higher frequencies, POTS's lines that transmit voice signals well may transmit digital signals poorly. Nevertheless, many telephone operating companies (TELCO's) would like to offer ISDN and/or ADSL data services to their subscribers.

[0005] Telephone lines between a TELCO switch and subscribers' premises are frequent sources of poor performance at the high frequencies characteristic of ISDN and ADSL transmissions. Nevertheless, high cost has made widespread replacement of these subscriber lines an undesirable solution for providing subscribers with lines capable of supporting ISDN and ADSL. A less expensive alternative would be to repair or remove only those subscriber lines that are inadequate for transmitting high-speed digital data.

[0006] To limit replacement or repair to inadequate lines, TELCO's have placed some emphasis on developing methods for predicting which subscriber lines will support data services, such as ISDN and ADSL. Some emphasis has been also placed on predicting frequency ranges at which such data services will be supported. Some methods have also been developed for finding faults in subscriber lines already supporting data services so that such faults can be repaired.

[0007] Current methods for predicting the ability of subscriber lines to support high-speed digital transmissions are typically not automated, labor intensive, and entail test access at multiple points. Often, these methods entail using skilled interpretations of high frequency measurements of line parameters to determine data transmission abilities. At a network scale, such tests are very expensive to implement.

[0008] The present invention is directed to overcoming or, at least, reducing the affects of one or more of the problems set forth above.

SUMMARY OF THE INVENTION

[0009] In a first aspect, the invention provides a method of determining a physical structure of a subscriber line. The method includes searching a reference set for a match between the subscriber line and a model line of the reference set and identifying that the subscriber line has a specific physical structure. The match is based on electrical properties of the lines. The act of identifying is responsive to finding a match with one of the model lines that has the specific physical structure.

[0010] In a second aspect, the invention provides a method of qualifying a subscriber line for a data service. The method includes searching a reference set of model lines for a best match to a subscriber line by comparing sets of electrical properties and determining that the subscriber line has a specific physical structure. The act of determining is responsive to the best matching model line having the specific physical structure. The method also includes disqualifying the subscriber line for the data service, in part, in response to determining that the specific physical structure corresponds to a disqualified line.

[0011] In a third aspect, the invention provides a method of providing a data service. The method includes searching for a match between electrical properties of a subscriber line and a model line of a reference set and determining whether the subscriber's line is qualified for the data service. The act of determining is based in part on whether the best matching model line has one of a bridged tap and a mixture of gauges. The method also includes performing a business action in response to determining that the subscriber's line is qualified.

[0012] In a fourth aspect, the invention provides a data storage device that stores an executable program of instructions for causing a computer to perform one or more of the above-described methods.

[0013] Various embodiments use test accesses, which provide data on low frequency electrical properties of subscriber lines, to make predictions about high frequency performance.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Other features and advantages of the invention will be apparent from the following description taken together with the drawings in which:

[0015]FIG. 1 shows a portion of a POTS network having a system for detecting faults in subscriber telephone lines;

[0016]FIG. 2A shows a first measuring setup for making one-ended electrical measurements on a subscriber telephone line;

[0017]FIG. 2B is an equivalent circuit for the measuring setup of FIG. 2A;

[0018]FIG. 2C shows a second measuring setup for making one-ended electrical measurements on a subscriber telephone line;

[0019]FIG. 3 illustrates signal distortions produced by the test bus and standard voice test access;

[0020]FIG. 4 shows a split pair fault in a subscriber line;

[0021]FIG. 5 shows how a splice error can produce a split pair fault;

[0022]FIG. 6A shows a phase measurement signature of a resistive imbalance on a subscriber line;

[0023]FIG. 6B shows a phase measurement signature of a split pair fault on a subscriber line;

[0024]FIG. 7 is a flow chart illustrating a method of detecting faults on subscriber lines with the system of FIGS. 1, 4, and 5;

[0025]FIG. 8 is a flow chart illustrating a method of qualifying subscriber lines with the method of FIG. 7;

[0026]FIG. 9 shows a method of providing high speed data services using the methods of FIGS. 7 and 8;

[0027] FIGS. 10A-10E show exemplary subscriber lines having different gauge mixes;

[0028]FIG. 11 shows a subscriber line with a bridged tap;

[0029] FIGS. 12A-12E shows exemplary structures of subscriber lines having one bridged tap;

[0030]FIG. 13 is a flow chart for a method of determining the specific physical structure of a subscriber line from a reference set;

[0031]FIG. 14 is a flow chart for a method of finding a best match between a subscriber and model lines;

[0032]FIG. 15 is a flow chart for a method of qualifying subscriber lines; and

[0033]FIG. 16 is a flow chart for a business method of providing high-speed data services to subscribers.

[0034]FIG. 17 is a flow chart for a stacked method of detecting bridged taps using auxiliary variables;

[0035]FIG. 18A shows predicted and actual signal attenuations of nominal subscriber lines;

[0036]FIG. 18B shows predicted and actual signal attenuations of non-nominal subscriber lines;

[0037]FIG. 18C shows predicted, shifted predicted, and actual signal attenuations for an exemplary nominal subscriber line;

[0038]FIG. 19 shows an exemplary decision tree;

[0039]FIG. 20 illustrates the action of the rules of the decision tree of FIG. 19 on a set of subscriber lines;

[0040]FIG. 21 is a flow chart illustrating a method of creating the decision trees with machine learning methods; and

[0041]FIG. 22 is a flow chart for a method of determining the branching rules of the decision tree illustrated in FIGS. 19-20.

DESCRIPTION OF THE PREFERRED EMBODIMENTS MEASUREMENT AND TEST APPARATUS

[0042]FIG. 1 shows a portion of a POTS network 10 that has a system 11 for detecting faults in subscriber lines 12-14. The subscriber lines 12-14 connect subscriber units 16-18, i.e., modems and/or telephones, to a telephony switch 15. The switch 15 connects the subscriber lines 12-14 to the remainder of the telephone network 10. The switch 15 may be a POTS switch or another device, e.g., a digital subscriber loop access multiplexer (DSLAM).

[0043] Each subscriber line 12-14 consists of a standard twisted two-wire telephone line adapted to voice transmissions. The two wires are generally referred to as the ring AR@ and tip AT@ wires.

[0044] A large portion of each subscriber line 12-14 is housed in one or more standard telephone cables 22. The cable 22 carries many subscriber lines 12-14, e.g., more than a dozen, in a closely packed configuration. The close packing creates an electrical environment that changes transmission properties of the individual subscriber lines 12-14.

[0045] Electrical measurements for detecting line faults are performed by a measurement unit 40. In various embodiments, the measurement unit 40 includes one or both devices 41 and 43. Each device 41, 43 performs one-ended electrical measurements on selected lines 12-14. In preferred embodiments, the electrical measurements are one-ended. The device 41 performs measurements on tip and ring wires of a selected subscriber line 12-14 in a common mode configuration and produces results useful for detecting split pairs. The device 43 can measure admittances of the tip and ring wires of a selected line 12-14 either separately or together and produces data useful for determining the specific physical line structure. The measurement unit 40 may also house other devices (not shown) for performing other types of electrical measurements, i.e., one-ended or two-ended measurements. The measurement unit 40 couples to the switch 15 via a test bus 42.

[0046] The devices 41, 43 connect to the switch 15 through the test bus 42 and a standard voice test access 44. The voice test access 44 electrically connects either the device 41 or device 43 to the subscriber lines 12-14 selected for testing. The voice test access 44 generally transmits electrical signals with low frequencies between about 100 Hertz (Hz) and 20 kilo Hz (KHz). But, the test access 44 may transmit signals at higher frequencies, e.g., up to 100 to 300 KHz, in some switches 15.

[0047] The measurement unit 40 is controlled by computer 46, which selects the types of measurements performed, the device 41, 43 used, and the subscriber lines 12-14 to test. The computer 46 sends control signals to the measurement unit 40 via a connection 48, e.g., a line, network, or dedicated wire, and receives measurement results from the measurement unit 40 via the same connection 48.

[0048] The computer 46 contains a software program for controlling line testing by the measurement unit 40 and for detecting line conditions or faults with results from the measurement unit 40. The software program is stored, in executable form, in a data storage device 49, e.g., a hard drive or random access memory (RAM). The program may also be encoded on a readable storage medium 50, such as an optical or magnetic disk, from which the program can be executed.

[0049] To perform a test, the measurement unit 40 signals the voice test access 44 to connect the line 12-14 to be tested to wires of the bus 42 for connecting to internal devices 41, 43. Then, one or both of the internal devices 41, 43 performs electrical measurements on the selected line 12-14. After the measurements are completed, the measurement unit 40 signals the switch 15 to disconnect the line 12-14 from the wires of the bus 42.

[0050] The computer 46 can classify selected subscriber lines 12-14 prior to fully connecting the lines 12-14 for data services. The range of possible classes to which a line 12-14 can be assigned will depend on the business needs of a TELCO. A simple, but very useful set of classes is “qualified” and “disqualified” to provide data services. Qualification is based on determining, with high certainty, that a selected line 12-14 will support a specified data service. Disqualification is based on determining, with high certainty, that the selected line 12-14 will not support the specified data service.

[0051]FIG. 2A shows a first setup 52 for performing one type of one-ended electrical measurements with the device 41. The measurements are used to detect faults such as split pairs in the subscriber lines 12-14 of FIG. 1.

[0052] The device 41 has a variable frequency voltage source 54 for driving the tip and ring wires T, R of the subscriber line 12-14 under test. The voltage source drives both wires together, i.e., in a common mode configuration, at a frequency controlled by the measurement unit 40. The tip and ring wires T, R of the line 12-14 under test are connected to the device 41 via the voice test access 44.

[0053] The voltage source 54 connects to one side of resistors R₁ and R₂. The second side of resistors R_(1 and R) _(2 connect to the respective tip and ring wires T, R of the subscriber line 12-14 under test. Thus, the voltage source 54 drives the tip and ring wires T, R in common mode through the corresponding resistors R) ₁ and R₂.

[0054] The resistors R₁ and R₂ have equal resistances so that the voltage source 54 induces equal voltages V₁, V₂ between each resistor R₁, R₂ and ground if the currents IT, IR therein are also equal. Differences in the input impedances ZT, ZR of the tip and ring wires T, R make the voltages V₁, V₂ differ in amplitude and/or phase. For example, mutual inductance effects produced by a split pair can make the input impedances ZT, ZR unequal.

[0055] Voltmeters VM₁ and VM₂ measure amplitudes and phases of voltages V₁ and V₂, respectively. From measurements of the voltmeters VM₁ and VM₂, the computer 46 can obtain the phase difference between V₁ and V₂.

[0056]FIG. 2B shows an equivalent circuit 55 for the measurement setup 52 of FIG. 4. In the common mode configuration, the tip and ring wires T, R act as elements of independent circuits 56, 57 that connect the voltage source 54 to a common ground 58. The tip wire T is equivalent to an impedance Z_(T) in the circuit 56, and the ring wire R is equivalent to an impedance ZR in the circuit 57.

[0057] The input impedances Z_(T) and Z_(R) may have different amplitudes and/or phases due to the presence of a fault on either the tip or ring wires T, R. Different values for Z_(T) and Z_(R) produce different currents I_(T) and I_(R) in the circuits 56 and 57 and different measured voltages V₁ and V₂. The phase of the voltage difference V₁−V₂ is proportional to the phase difference between the input impedances of the tip and ring wires T, R. In the phase of the difference V₁−V₂, termination effects associated with the attached subscriber unit 16 can largely be ignored.

[0058]FIG. 2C shows a measuring setup 60 for performing one-ended electrical measurements on a selected subscriber line 12-14 with the device 43 shown in FIG. 1. The device 43 measures electrical properties, which can be used to determine the specific physical structure of the lines 12-14 and to determine line conditions and faults as is described below. Some methods for detecting line faults and conditions with the device 43 have been described in U.S. application Ser. No. 09/294,563 ('563), filed Apr. 20, 1999. The '563 application is incorporated herein, by reference, in its entirety.

[0059] The device 43 is adapted to measure admittances between the tip wire T, ring wire R, and ground G for a subscriber line 12-14 being tested. The tip and ring wires T, R of the line 12-14 being tested couple to driving voltages V₁′ and V₂′ through known conductances G_(t) and G_(r). The tip and ring wires T, R also connect to voltmeters V_(t) and V_(r). The V_(t) and V_(r) voltmeters read the voltage between the tip wire T and ground G and between the ring wire R and ground G, respectively. The readings from the voltmeters V_(t) and V_(r) enable the computer 46 to determine three admittances Y_(tg), Y_(tr), and Y_(rg) between the pairs tip-ground, tip-ring, and ring-ground, respectively. The device 43 can measure the admittances at preselected frequencies in the range supported by the voice test access 44. The '563 application has described methods for performing such measurements.

[0060] Referring to FIG. 3, the computer 46 may compensate for signal distortions introduced by the test bus 42 and/or the voice test access 44. To perform compensation, the computer 46 treats the two lines of the combined bus 42 and test access 44 as a linear two port systems. Then, the currents and voltages I_(T)′, V_(T)′ and I_(R)′, V_(R)′ at the output terminals of the measurement device 40 are related to the currents and voltages I_(T), V_(T) and I_(R), V_(R) on the output terminals of the tip and ring wires T, R by the following 2×2 matrix equations:

[I _(T) , V _(T) ]=A(f)[I_(T) ′, V _(T) ′] ^(t) and [I _(T) , V _(T) ]=A′(f)[I_(R)′, V_(R)′]^(t).

[0061] The frequency dependent matrices A(f) and A′(f) are determined experimentally for each bus 42 and voice test access 44. Then, the computer 46 calculates the impedances or admittances of the tip and ring wires T, R with the currents and voltages I_(T), V_(T) and I_(R), V_(R) obtained from the above equations.

[0062] The measurement unit 40 and computer 46 can detect faults such as split pairs, resistive imbalances, metallic faults, load coils, bridged taps, gauge mixtures, and high signal attenuations. Co-pending U.S. patent application 09/285,954 ('954), filed Apr. 2, 1999, describes the detection of some of these faults and is incorporated herein by reference in its entirety.

SPLIT PAIRS

[0063] Referring again to FIG. 1, close proximity can inductively produce cross talk between the subscriber lines 12-14. Cross talk is frequently caused by large noise or ringing signals on one of the lines 12-14. The large signal inductively produces signals on nearby lines 12-14. To reduce cross talk, the tip and ring wires T, R of each subscriber line 12-14 are either tightly twisted together or kept in close proximity in the cable 22. In this way, stray signals affect both wires of a pair so that induced signals do not impact the difference signal between the tip and ring wires.

[0064] Referring to FIG. 4, the tip and ring wires T′, R′ of a subscriber line 24 are separated spatially in a portion of cable 26. The portion of the subscriber line 24 in which the tip and ring wires T′, R′ are spatially separated is referred to as a split pair. A split pair T′, R′ has a high risk of picking up cross talk other lines 28-29 in the same cable 26 or external noise sources such as power lines (not shown).

[0065] Split pairs also introduce impedance discontinuities into subscriber lines, because the split pair creates a localized and abrupt impedance variation. Impedance discontinuities can cause signal reflections and high signal attenuations for high-speed digital transmissions.

[0066]FIG. 5 illustrates one type of split pair, i.e., a split pair caused by a splice error. The splice error occurred when two portions of a subscriber line 32, which are located in two different cables 33, 34, were joined. The splice 35 has joined tip and ring wires T₁, R₂from two different twisted pair lines 36, 37 in the cable 33 to tip and ring wires T_(3, R) ₃ of a single twisted pair 38 in the adjacent cable 34. The tip and ring wires T₁, R₂ of the portion of the subscriber line 32 are widely separated in a substantial portion of the cable 33. Thus, the tip and ring wires T₁, R₂ form a split pair.

[0067] Detection of split pair faults is difficult for several reasons. First, split pairs do not produce easily detected effects such as metallic faults, i.e., broken wires or shorted wires, or impedance imbalances. Second, split pairs produce cross talk that produce intermittent faults depending on the signals on nearby lines, e.g., intermittent ringing signals. The intermittency makes such faults difficult to recognize.

[0068] Conventional tests have not been very successful in detecting split pairs. Nevertheless, split pairs can degrade the quality of a subscriber line for high-speed data services.

[0069]FIGS. 6A and 6B provide graphs 68, 69 of the phase of the voltage difference V₁−V₂ between resistors R₁ and R₂ while testing two exemplary subscriber lines 12-14 with the measurement setup 52 of FIG. 4. The graphs 68, 69 provide frequency sweeps of the phase difference, which show signatures of faults that can interfere with high-speed data services, e.g., ISDN or ADSL.

[0070] Referring to FIG. 6A, the graph 68 shows a signature for a resistive imbalance fault on the tested subscriber line 12-14. The signature for a resistive imbalance is a pronounced peak in the phase of the voltage difference V₁−V₂. The peak appears in the phase difference between impedances of the tip and ring wires. The peak has a narrow width that is typically not more than a few hundred to about 2 KHz. Typically, the phase has a height of greater than about 5°.

[0071] Referring to FIG. 6B, the graph 69 shows a signature for a split pair fault on the tested subscriber line 12-14. The signature is a flat and substantially constant phase for V₁−V₂, i.e., a substantially constant non-zero phase difference between the input impedances ZT, ZR of the wires T, R. Typically, the phase has a value of between about 0.5° and 1.5°. The nonzero and flat phase extends over a region of frequencies having a width of at least 5,000 kilo Hz. The phase of ZT and ZR may remain flat, nonzero, and peakless from about 100 Hz to about 20,000 Hz if a split pair is present, i.e., over the frequency range measurable through the voice test access 44, shown in FIG. 1. A nonzero and substantially frequency independent phase difference between the input impedances ZT, ZR of the tip and ring wires is a signature for a split pair on the subscriber line 12-14 being tested.

[0072]FIG. 7 is a flow chart illustrating a method 70 of detecting a fault in the subscriber lines 12-14 with the system 11 of FIG. 1. The computer 46 selects the subscriber line 12-14 to test for faults (step 72). The measurement unit 40 electrically connects to the selected line 12-14 via the voice test access 44 of the TELCO switch 15 (step 74). The connection produces the measurement setup 52 illustrated in FIGS. 4 and 5.

[0073] The measurement unit 40 performs one-ended electrical measurements to determine a signal proportional to the phase difference of the input impedances Z_(T), Z_(R) of the tip and ring wires of the selected line 12-14 (step 76). The quantity actually measured is the phase of V₁−V₂, which is proportional to the phase of the difference of the input impedances Z_(T), Z_(R). The device 41 measures the phase by driving the tip and ring wires in the common mode configuration shown in FIG. 4. The driving frequencies are between about 100 Hz to 20,000 kilo Hz and accessible via the voice test access 44. Such frequencies are very low compared to transmission frequencies of high-speed data services such as ISDN and ADSL.

[0074] The computer 46 analyzes the measurements of the phase as a function of frequency to determine whether the phase has a signature for a line fault (step 78). The line faults that produce signatures in the phase include split pairs and resistance imbalances as described above in relation to FIGS. 6B and 6A, respectively. Other signatures are possible, e.g., for other types of faults. If a signature for a line fault is found, the computer 46 identifies that a fault has been detected (step 80). The identification may entail making a reporting act. The reporting act may include making an entry in a file that lists the faults on the subscriber lines 12-14, displaying a warning on an operator's display screen 47 or on a screen of a service technician (not show), or informing a program that allocates subscriber lines 12-14. If no signatures for line faults are found, the computer 46 identifies the absence of the line faults associated with signatures for the selected line 12-14, e.g., by performing a reporting act (step 82).

[0075]FIG. 8 is a flow chart illustrating a method 90 for a test that determines whether the subscriber lines 12-14 of FIG. 1 qualify or disqualify for a high-speed data service. To start a test, an operator or the computer 46 selects a subscriber line 12-14 (step 92). The operator or computer 46 also selects the type of data service for which the selected subscriber line 12-14 is to be tested (step 94). For example, the types of service may be ISDN or ADSL. After selecting the line 12-14 and service type, the measurement unit 40 performs one-ended electrical measurements to detect preselected types of faults in the selected line 12-14 (step 96). The one-ended measurements include tests according to the method 70 of FIG. 7 to detect split pairs.

[0076] The other types of line faults and conditions, which are selected for testing, depend on the types and speeds of data services, the properties of the switch 15, and the type of modem to be used. Frequently, tests check for high signal attenuations, resistive imbalances, and the presence of load coils, metallic faults, or bridged taps, because these conditions and faults can disqualify a line for high-speed data service. But, line qualification tests may also check for capacitive imbalances, and above-threshold noise levels, because these conditions can also affect qualification results. Methods and apparatus for detecting some of these conditions and faults are described in co-pending patent applications.

[0077] One such application is U.K. Patent Application No. 9914702.7, titled “Qualifying Telephone Lines for Data Transmission”, by Roger Faulkner, filed Jun. 23, 1999, which is incorporated herein by reference, in its entirety. Other such co-pending applications include the above-mentioned '954 and '563 patent applications.

[0078] If one of the preselected types of faults or line conditions is detected, the computer 46 reports that the selected subscriber line 12-14 is disqualified for the selected data transmissions (step 98). Otherwise, the computer 46 reports that the selected line 12-14 qualifies for the selected data service (step 100).

[0079] To report the tested line's status, the computer 46 makes an entry in a list stored in the storage device 49. The list identifies the line, data service, and qualification or disqualification status. The computer 46 may also report the line's status by displaying a disqualification or qualification signal on the display screen 47 visible to an operator.

[0080]FIG. 9 is a flow chart for a method 101 used by a TELCO to provide a high-speed data service, e.g., ISDN or ADSL, to telephone subscribers. The TELCO programs the computer 46 of FIG. 1 to automatically select individual subscriber lines 12-14 connected to the local switch 15 (step 102). In response to selecting the line 12-14, the voice test access 44 connects the selected line 12-14 to the measurement unit 40 for testing (step 104). The measurement unit 40 connects the selected line 12-14 to the measurement device 41 and may also connect the selected line 12-14 to other internal measurement devices (not shown). The computer 46 and measurement unit 40 determine whether the selected line 12-14 has a split pair and qualifies for the data service according to the methods 70, 90 of FIGS. 7 and 8 (step 106). Next, the computer 46 updates a list recording the identities of lines 12-14 that qualify and of lines 12-14 having split pairs (step 108). The computer 46 waits a preselected time and restarts the testing for another of the lines 12-14 at step 102.

[0081] The TELCO regularly checks the list to determine whether any of the lines 12-14 have split pairs (step 110). If a line has a split pair, the TELCO performs a business action based on the presence of the split pair fault (step 112). The business action may include sending a worker to repair or replace the affected line 12-14, designating the affected line 12-14 as unable to transmit data, or setting a lower billing rate based on the presence of the fault.

[0082] The TELCO also regularly checks the list to determine whether any of the lines 12-14 qualify for the high-speed data service (step 114). In response to finding that one or more of the lines 12-14 qualify, the TELCO performs a business action related to the line's qualification (step 116). For example, the TELCO may offer the high speed data service to subscribers who have the lines 12-14 qualified for the data service and who do not presently subscribe to the data service.

SPECIFIC PHYSICAL STRUCTURE OF SUBSCRIBER LINES

[0083] Referring again to FIG. 1, the subscriber lines 12-14 may have widely different physical structures. A line's specific physical structure is described by properties such as line length, gauge or gauges, and content of bridge taps. Interpretations of electrical measurements to obtain line transmission properties such as the signal attenuation are dependent upon the specific physical line structure. Thus, knowing the specific physical structure of a subscriber line aids in predicting how well the line 12-14 will support high speed digital data services, e.g., to predict maximum data speeds.

[0084] FIGS. 10A-E illustrate parameters that describe gauge mix parameters through exemplary lines 121-125 in which drawing widths represent wire gauges. The lines 121, 122 have uniform structures described by different wire gauges. The lines 124, 125 have segmented structures in which adjacent segments have different wire gauges, i.e., mixtures of gauges. The gauge composition of these lines 124, 125 is described by segment lengths and segment gauges. The structures are also described by the serial layout of the segments. The line 123 has different tip and ring wires T₄, R₄ and is described by the gauges of the T₄ and R₄ wires.

[0085] Referring now to FIG. 11, a subscriber line 127 has an extra twisted wire pair 128 spliced onto the line 127. The spliced on wire pair 128 is referred to as a bridged tap. The existence or absence of bridged taps is a parameter that also influences how well the subscriber line 127 will support high-speed digital data services.

[0086] In the United States, many subscriber lines have bridged taps because of the way in which telephone lines were laid out in housing subdivisions. Telephone lines were laid out prior to determining the exact positioning of the houses of the subdivisions. The lines ran near planned positions of several houses. When the houses were later built, the builder connected the telephone units to the nearest point on one of the originally laid telephone lines. Unconnected portions of the original lines produced bridged taps.

[0087] The bridged tap 128 reflects signals from termination 129. The reflected signals then travel back to the subscriber line 127 and interfere with signals on the subscriber line 127. The most harmful interference occurs when the reflected signal is out of phase with the incoming signal. In such a case, the reflected signal destructively interferes with the incoming signal on the subscriber line 127.

[0088] The length of the bridged tap 128 determines the phase difference between the original and reflected signals. For high-speed digital signals whose frequencies extend to about 1 mega Hertz (MHz), e.g., ADSL signals, a substantial cancellation can occur if the bridged tap 128 has a length between about 200 to 700 feet. In the United States, the bridged taps left over from the construction of many housing subdivisions have lengths in this range. Thus, the ability to detect and remove the bridged tap 128 is useful to TELCO's that want to offer high-speed digital data services to their subscribers.

[0089] FIGS. 12A-12E illustrate structure parameters that describe bridged taps 130, 134 through exemplary subscriber lines 135-139. The lines 135, 136 have bridged taps 130, 131 described by different physical lengths. The lines 137-138 have bridged taps 132, 133 described by different locations along the lines 137, 138. The line 139 has a bridged tap 134, which is at least partially described by its location along a particular segment of the line 139. Finally, the lines 136, 139 have bridged taps 131, 134 described by different gauges.

[0090] To determine the specific physical structures of unknown subscriber lines, a reference set of model lines may be employed. A reference set is an ensemble of model lines with different and known specific physical structures. To determine the specific physical structure of an unknown subscriber line, measured properties of the unknown line are compared to the same properties in model lines. If a match is found, the unknown line has the same specific physical structure as the matching model line.

[0091] Reference data on the specific physical structures of the model lines may be compiled in either a reference data file or a set of reference equations. Both the reference data file and the set of reference equations index the individual model lines by values of a preselected set of measurable electrical properties. In some embodiments, the preselected electrical properties are the frequency-dependent admittances measurable with the device 43 of FIG. 2C.

[0092] The content of model lines in the reference set may be tailored to the expected structures of the unknown subscriber lines. For example, if the unknown lines do not have bridged taps, the reference set might not have model lines with bridged taps. On the other hand, if the unknown lines may have bridged taps, the reference set includes some model lines with bridged taps. Knowledge of the practices used to lay out the subscriber lines under test can help to determine the best content of model lines for the reference set. For different subscriber line populations, reference sets can be selected empirically or based on human knowledge.

[0093] Typically, the reference set includes model lines having uniformly varying values of the parameters described in relation to FIGS. 10A-10E and 12A-12E. The model lines have a distribution of lengths and may include one, two, or three segments with zero, one, or two bridged taps, and a distribution of subscriber termination loads. The segments and bridged taps can have varying lengths, locations, and gauges.

[0094]FIG. 13 is a flow chart for a method 140 of determining the specific physical line structure of the subscriber lines 12-14 of FIG. 1 from a reference set of model lines. To start, an operator or the computer 46 selects a subscriber line (ssl) to test (step 142). The computer 46 directs the measuring unit 40 to perform preselected one-ended electrical measurements on the selected subscriber line over a range of frequencies (step 144).

[0095] In one embodiment, the electrical measurements are one-ended and performed with the device 43, shown in FIG. 2C. During the measurements, the voltage source 54 drives the tip and/or ring wires of the selected subscriber line 12-14 with voltage sources V₁′, V₂′. The driving frequency is swept over a range, e.g., from about 100 Hertz to about 20,000 to 40,000 Hertz, and one or more of the admittances Y_(tg), Y_(tr), Y_(rg) are measured for various driving frequencies. The measurements provide complex input admittances, i.e., amplitudes and phases for a preselected set of frequencies After performing the measurements, the computer 46 searches for a “best” match between model lines belonging to the reference set and the selected subscriber line (step 146). The search for matches involves comparing preselected electrical properties of the selected subscriber line to the same properties for the model lines. For the selected subscriber line, the values of the preselected electrical properties are obtained from the one-ended electrical measurements. For the model lines, the values of the same electrical properties are either looked up from a file in the data storage device 49 or calculated from a set of reference equations. The comparison determines which model line “best” matches the selected subscriber line.

[0096] The computer 46 identifies a specific physical line structure for the selected subscriber line 12-14 has the same form as the specific physical line structure of the “best” matching model line (step 148). Identifying the specific physical line structure may include reporting the structure, e.g., displaying values of parameters for the specific physical structure to a operator, writing the values to a file, or providing the values to a software application. For example, the software application may use the match information to qualify or disqualify the selected line 12-14. The parameters may provide gauge mixtures and tap locations and positions.

[0097] For the model lines, the specific physical structures are either stored in the same file listing the electrical properties of the model lines or determined from the reference equations. Actual values of the electrical properties and structure parameters of the model lines are obtained prior to testing the subscriber line by analytic calculations or experimentation.

[0098] In a preferred embodiment, the computer 46 finds the “best” matching model line by calculating an error function for each model line (ml). The error function has one of two forms E or E′ given by:

E=Σ _(f) W(^(f))M _(ml)(f)−M _(sl)(f)|and E′=Σ _(f) W(f)|M_(ml)(_(f))−M_(sl)(_(f))|^(2Q).

[0099] M_(ml)(f) and M_(ssl)(f) are the values of the preselected frequency-dependent electrical properties of the model line (ml) and the selected subscriber line (ssl), respectively. Q and W(f) define the form of the error functions, i.e., E or E′. Q is a fixed integer, e.g., 1 or 2. W(f) is positive definite weight function, e.g., a function of frequency “f” or a constant.

[0100] In some embodiments, the preselected electrical properties M_(ml)(f), M_(ssl)(f) are the phases of one or more complex admittances of the lines ssl, ml. Various embodiments employ either the phase of the tip-to-ground admittance Y_(tg), the phase of the ring-to-ground admittance Y_(rg), and/or the phase of the tip-to-ring admittance Y_(tr). If the tip-to-ground or ring-to-ground admittances Y_(tg), Y_(rg) are used, many termination effects due to the subscriber units 16-18 of FIG. 1 are not seen. The phase of these admittances is often small, e.g., 4° or less, and approximately equals the ratio of the imaginary to real parts of the admittance. For such a case and Q=1, the error function E′ is:

E′=Σ _(f) [Im(admittance)_(ml) /Re(^(admittance))_(ml) −Im(admittance)_(ssl) /Re(admittance)_(ssl)]².

[0101] In another embodiment, the preselected electrical properties M_(ml)(f), M_(ssl)(f) are the full complex admittances of the lines ssl, ml, i.e., Y_(tg), Y_(rg), and/or Y_(tr). Using the complex admittances themselves can reduce computational times.

[0102] Finally, in some embodiments, the best match to the selected subscriber line 12-14 may include a several different model lines, e.g., model lines generating errors with a below threshold value. In these embodiments, the computer 46 identifies the selected subscriber line 12-14 as having one or more common features of all of the “best matching” lines. For example, the computer 46 may identify the specific physical structure of the selected subscriber line 12-14 as having a bridged tap if all of the best matching model lines have a bridged tap. Then, the computer 46 may use the presence of a bridged tap in combination with other measurements to qualify or disqualify the line 12-14.

[0103]FIG. 14 illustrates a method 150 of determining “best” matches by using the above-described phases. The computer 46 determines the length of the selected subscriber line using low frequency measurements for line capacitance performed by the measurement unit 40 and device 43 (step 152). Next, the computer 46 selects a model line having the same length as the selected subscriber line (step 154).

[0104] The computer 46 restricts comparisons to model lines with the same length as the subscriber line, because physical line length affects the values of the phases of admittances. Limiting comparisons to this subset of the reference set eliminates false matches with model lines whose lengths differ from the length of the selected subscriber line.

[0105] The computer 46 calculates the error function E′, based on the phase of preselected admittances, for the selected model line (step 155). The computer 46 checks whether other model lines remain with the same length (step 156). If other lines remain, the computer 46 repeats the determination of E′ for another selected model line (157). If no lines remain, the computer 46 reports the model line having the smallest value for the error function E′ as the “best” match to the selected subscriber line (step 158).

[0106] Since the reference set may contain as many as 10,000 to 100,000 model lines, the method 150 may search the reference set hierarchically to reduce the total number of searches. In a hierarchical scheme, a first search divides the reference set into non-overlapping groups of model lines. Each group has a large number of lines with similar specific physical structures and defines one model line as a representative of the group. The first search uses the method 150 to determine a “best” match between the selected subscriber line and one of the representative model lines. A second search uses the method 150 on the model lines of the group associated with the best matching representative model line found from the first search.

[0107]FIG. 15 is a flow chart illustrating a method 160 of qualifying subscriber lines, e.g., lines 12-14 of FIG. 1, for a high-speed data service, e.g., ISDN or ADSL. After selecting a subscriber line to test, the computer 46 searches a reference set of model lines for a “best” match to the selected subscriber line by using the methods 140, 150 of FIGS. 13 and 14 (step 162). The computer 46 identifies the selected subscriber line as having a bridged tap or mixture of gauges in response to the “best” match model line having a bridged tap or mixture of gauges, respectively (step 163). The computer 46 qualifies or disqualifies the selected subscriber line for the data service, at least in part, based upon whether the subscriber line has a bridged tap or mixture of gauges (step 164).

[0108] In some embodiments, the computer 46 uses the signal attenuation to qualify or disqualify the selected subscriber line according to a method described in co-pending U.S. application Ser. No. 08/294,563 ('563). In those embodiments, the computer 46 calculates the signal attenuation by the methods described in the '563 application. Then, the computer 4 adjusts the calculated value of the signal attenuation up or down depending on a quality factor. The quality factor depends on the specific physical structure of the line, e.g., upon whether a bridged tap and/or a mixture of gauges is absent or present in the subscriber line.

[0109] According to the value of the quality factor, the computer 46 adjusts a calculated signal attenuation up or down by preselected amounts. For example, the attenuation may be decreased, unchanged, and increased in response to the quality factor being good, average, and poor, respectively. Then, the computer uses the adjusted signal attenuation to determine to qualify or disqualify the subscriber line for the data service according to methods described in the ′563 application.

[0110] In other embodiments, the computer 46 uses some specific physical line structures as disqualifiers. For example, if the above-described methods lead to the detection of a bridged tap, the computer 46 may disqualify the line for the data service.

[0111]FIG. 16 is a flow chart illustrating a business method 165, which a TELCO uses to provide a high-speed data service to subscribers. The TELCO determines which subscriber lines 12-14 of FIG. 1 are qualified and/or disqualified for the data service according to the method 160 of FIG. 15 (step 166).

[0112] Using the method 160, the computer 46 determines whether line structures, e.g., bridged taps and/or selected mixtures of gauges, are present. The specific physical structure is then used to adjust predictions of electrical properties of the subscriber line, e.g., a signal attenuation. If the adjusted values of the electrical properties are outside of thresholds for the data service the line is disqualified.

[0113] Among subscribers with qualified lines 12-14, the TELCO determines which subscribers having qualified lines do not subscribe to the data service (step 167). The TELCO offers the data service to subscribers having qualified lines and not presently subscribing to the service (step 168).

[0114] In response to finding subscribers with disqualified lines 12-14, the TELCO repairs or replaces those lines 12-14 (step 169).

STACKED BRIDGED TAP DETECTION

[0115] Referring again to FIG. 1, tests for bridged taps preferably use one-ended electrical measurements that are performed on subscriber lines 12-14 via the “standard” voice test access 44. The voice test access 44 acts as a low pass filter, which screens out frequencies above 20 to 100 KHz. Thus, electrical measurements are generally restricted to low frequencies between about 20 Hz and 100 KHz.

[0116] Bridged taps manifest their presence by peaks in the signal attenuation at high frequencies, e.g., between about 200 KHz and 1,000 KHz. Predicting features of the high-frequency signal attenuation from the low-energy measurements, which are available through the voice test access 44, is difficult and error prone. Present methods falsely predict the presence or absence of bridged taps in about 40% of the cases. False predictions are costly to subscribers and TELCO's, because they can result in lost opportunities for high-speed data services and can also result in investments in transmission equipment that lines do not support.

[0117] The accuracy of tests for line conditions and faults, e.g., bridged taps, can be improved with stacked generalization methods that use multiple layers of classifiers. The classifiers determine values of auxiliary variables, which are the labels they assign to classify subscriber lines 12-14. Auxiliary variables are generated as outputs of classifiers. The auxiliary variables are thus, related to electrical measurements on the lines 12-14 indirectly through probabilistic relations embodied in the classifiers. The classifiers of the stack may be decision trees, neural networks, case-based reasoners, or statistically based classifiers. The old electrical properties and new auxiliary variables can be combined in classifiers that provide strong correlations between values of these quantities and the presence or absence of line faults and conditions, such as bridged taps and gauge mixtures.

[0118]FIG. 17 is a flow chart illustrating a method 170 for using stacked classifiers to detect selected line conditions or faults from electrical measurements made with the system 11 of FIG. 1. The system 11 preferably performs one-ended electrical measurements on a selected subscriber line 12-14 using either setup 52 or setup 60, shown in FIGS. 2A-2C, 3 (step 172). To these measurements, the computer 46 applies a set of rules that define a preselected set of derived electrical properties for the selected line 12-14 (step 173). Algebraic relations relate the derived properties to the measurements. The measured and derived electrical properties are listed in Appendix A.

[0119] The measured and derived properties together form the input properties for the stack of classifiers. These input properties may include a preliminary value of the signal attenuation, the line length, line impedances, and ratios of line impedances. The selection of the input line properties for the stack can be changed to accommodate different expected compositions of the subscriber lines 12-14 being tested.

[0120] In each layer U, V of classifiers, shown in FIG. 17, the computer 46 determines values of one or more auxiliary variables for the selected line 12-14. The auxiliary variables may be logic-type variables indicating that the line 12-14 is labeled by a characteristic. The auxiliary variables may also be probability-type variables each indicating the likelihood that the line 12-14 is labeled by one of a plurality of characteristics.

[0121] In the first layer U of the stack, the computer 46 applies a first classifier to input electrical measurements and properties to determine a first auxiliary variable (step 175). The first auxiliary variable characterizes the line 12-14 with a label “nominal” or a label “non-nominal”.

[0122] In a nominal line, low frequency properties provide a good prediction of the signal attenuation at the high frequencies where bridged taps strongly affect attenuation. Thus, knowing a value of an auxiliary variable that labels a line as nominal or non-nominal can improve the accuracy of predictions about the presence of line faults like bridged taps.

[0123] Also in the first layer U, the computer 46 applies one or more second classifiers to the input electrical properties to determine one or more other auxiliary variables (step 176). These auxiliary variables provide a preliminary prediction of whether the selected line 12-14 is qualified or disqualified for one or more high-speed data services. In some embodiments, values of the auxiliary variables, found at step 176, indicate whether the subscriber line 12-14 is qualified for ISDN or ADSL data services or neither.

[0124] Disqualification for high-speed data service correlates with presence of a bridged tap, because a bridged tap lowers a line's capability to carry high-frequency signals. Thus, knowing a value of an auxiliary variable that preliminarily labels a line as qualified or disqualified for data transmissions can improve the accuracy of predictions about the presence or absence of bridged taps.

[0125] Steps 175 and 176 may be performed in parallel or sequentially. If these steps 175 and 176 are sequential, the value of the auxiliary variable output by the earlier step may be used in the later step. If step 175 is earlier, the classifier of step 176 may use the auxiliary variable labeling the line 12-14 as nominal or non-nominal, as an input. If step 176 is earlier, the classifier of step 175 may use the auxiliary variables providing a preliminary qualification or disqualification for data transmissions as inputs.

[0126] At the second layer V of the stack, the computer 46 applies a classifier to the auxiliary variables from steps 175 and 176 and the electrical measurements and properties from steps 172 and 173. This classifier determines whether the selected subscriber line 12-14 has a preselected type of line fault or condition (step 177). For example, the fault or condition may be existence of a bridged tap or a gauge mixture.

[0127] The layered stack U, V can predict the presence or absence of bridged taps with a substantially increased accuracy. The two-layered stack of FIG. 17 can predict the presence of bridged taps with an accuracy of between about 75% and 85% and the absence of bridged taps with an accuracy of greater than about 97%.

[0128] In steps 175, 176, and 177, classifiers analyze input data to determine the values of output data. Henceforth, the input data, which includes one-ended measurements, properties derived from one-ended measurements, and/or auxiliary variables, are referred to as line features. The output data, which are values of auxiliary variables, are referred to as classifying labels.

[0129] Their line features and labels can describe the classifiers of steps 175, 176, and 177. The classifier in step 175 uses the selected measured and derived electrical properties of the selected line 12-14 as features to form classes with labels “nominal” and “non-nominal”. The classifier of step 176 uses the same features to form classes with labels “ISDN qualified”, “ADSL qualified”, or “data service disqualified” in one embodiment. The classifier of step 177 uses the same features and values of the characterizing labels from steps 175, 176 to form classes with labels “bridged tap present” and “bridged tap absent”.

[0130] The label “nominal” describes a type of signal attenuation over a range that includes both low measurement frequencies and high data service frequencies. For a nominal line, the difference between actual and predicted signal attenuations AA(f) and PA(f) has a simple dependence on frequency “f”. The actual signal attenuation AA is the attenuation of the line determined from direct double-ended electrical measurements. The predicted signal attenuation PA is the attenuation obtained from one-ended electrical measurements, e.g., using the system 11 of FIG. 1.

[0131] The predicted signal attenuation PA(f) may be obtained from a subscriber line's capacitance, e.g., the capacitance C^(tg) _(30 Hz) between tip wire and ground measured at 30 Hz. One form for the predicted signal attenuation PA(f) is:

PA(f)=K(f)C ^(tg) _(30 Hz).

[0132] In this formula, K(f)=−0.1729, −0.2074, −0.2395, −0.2627, and −0.2881 dB/nano-Farads for respective frequencies f equal to 100, 200, 300, 400, and 500 KHz.

[0133] Another form for the predicted attenuation PA(f) is described in co-pending U.K. Patent Application 9914702.7.

[0134] For a nominal line, the difference, DFF(f), between the actual and the predicted signal attenuations AA(f), PA(f) has one of the following forms:

[0135] 1) DFF(f)<3.5 dB for 100 KHz<f<500 KHz;

[0136] 2) 3.5 dB<DFF(f)<10.0 dB for 100 KHz<f<500 KHz; or

[0137] 3) DFF(f)>10.0 dB for 100 KHz<f<500 KHz.

[0138] If the frequency dependent difference DFF(f), i.e., |AA(f)−PA(f)|, does not have form 1, 2, or 3, the line 12-14 is classified as a non-nominal line. Thus, a direct determination of whether a particular line 12-14 is nominal requires both one-ended and two-ended measurements to obtain both PA(f) and AA(f).

[0139]FIG. 18A shows predicted and actual attenuations of exemplary nominal lines A, B, and C. For the line A, predicted and actual attenuations PA_(A) and AA_(A) differ by less than 3.5 dB for the entire frequency range between 100 and 500 KHz. The line A has a DFF(f) of form 1. For the line B, predicted and actual attenuations PA_(B), AA_(B) differ by between 4 and 9 dB over the 100 KHz to 500 KHz frequency range. The line B has a DFF(f) of form 2. For the line C, predicted and actual attenuations PA_(C), AA_(C) differ by between more than 10.0 dB over the 100 KHz to 500 KHz frequency range. The line C has a DFF(f) of form 3.

[0140]FIG. 18B shows predicted and actual attenuations of exemplary non-nominal lines D and E. For the line D, predicted and actual signal attenuations PA_(D), AA_(D) differ by about 8 dB at 200 and 400 KHz and are equal at 150 and 300 KHz. This form for PA_(D) and AA_(D) does not correspond to a DFF(f) of form 1, 2, or 3. For the line E, predicted and actual signal attenuations PA_(E), AA_(E) differ by less than 3.5 dB at frequencies between 100 and 200 KHz and by more than 8 dB at frequencies between 400 and 500 KHz. This form for PA_(E) and AA_(E) also does not correspond to a DFF(f) of form 1, 2, or 3.

[0141] In the non-nominal lines D and E wide fluctuations occur in DFF(f). These fluctuations make a constant shift of the predicted attenuation PA(f) a poor approximation to the actual attenuation AA(f) over the whole range that includes both high and low frequencies.

[0142]FIG. 18C shows predicted and actual signal attenuations PA_(F), AA_(F) for another nominal subscriber line F. A shifted predicted attenuation SPA_(F), which has been obtained by shifting the predicted attenuation PA_(F) by a constant, is also shown. For the nominal line F, the shifted predicted attenuation SPA_(F) provides a better approximation to the actual attenuation AA_(F) that the predicted attenuation PA_(F) over the entire range between 100 KHz and 500 KHz.

[0143] The actual and predicted signal attenuations AA(f), PA(f) of nominal lines are approximately related by a constant shift over a wide frequency range. The wide frequency range includes both low measurement frequencies and high frequencies where effects of bridged taps are directly observable.

[0144] In step 176 of FIG. 17, the labels ISDN qualified, ADSL qualified, and data service disqualified are defined by the value of the actual signal attenuation at 100 KHz and 300 KHz. High-speed data qualified and disqualified lines satisfy: Class Label 100 KHz 300 KHz ADSL qualified attenuation > −47 dB attenuation > −40 ISDN qualified attenuation > −47 dB attenuation ≦ −40 Disqualified attenuation ≦ −47 dB attenuation ≦ −40

[0145] Thus, qualification or disqualification of a line 12-14 for ADSL and ISDN are defined by the value of the actual signal attenuation at two high frequencies, i.e., 100 KHz and 300 KHz.

[0146]FIG. 19 illustrates a decision tree 180 that determines a classifying label, e.g., an auxiliary variable, generated in steps 175-177 of FIG. 17. A separate classifier, e.g., a decision tree, is used to determine each such label.

[0147] The decision tree 180 has a hierarchical arrangement of branching tests 1, 1.1-1.2; 1.1.1-2.2.2, . . . , which are grouped into descending levels 1, 2, 3 . . . . Each test assigns feature data received from a higher level to disjoint subsets in the next lower level. The subsets of the lower level are located at ends of arrows starting at the test. For example, test 1.1 assigns feature data to subsets 1.1 and 1.2, which are located at the ends of arrows 6 and 7, see FIG. 20. At the lower level, another set of tests can act on the feature data.

[0148]FIG. 20 illustrates how the tests 1, 1.1, 1. 2, . . . of the various levels of the decision tree 180 of FIG. 19 act on a set of feature data associated with the subscriber lines 12-14. Each successive test partitions the set, i.e., by using values of the selected features, into increasingly disjoint output subsets. For example, test 1 partitions the initial feature data into subset 1 and subset 2. The distal end of each path through the decision tree 180 assigns a subscriber line to a final subset in which the lines are primarily associated with one value of the classifying label of the tree 180. Some decision trees 180 determine a probability that the subscriber line 12-14 has the value of the label of the final subset to which it is assigned.

[0149]FIG. 21 is a flow chart for a method 190 of creating decision trees for use as the classifiers in steps 175, 176, and 177 of FIG. 17. The method 190 uses machine learning methods.

[0150] To employ machine learning, a training set of subscriber line data is created (step 192). The content the training set includes model lines with different values of the labels used by the decision tree to classify lines. If the decision tree classifies lines with the label “bridged tap present” and “bridged tap absent”, then some of the lines of the training sets will have bridged taps and some of the lines will not have bridged taps. Similarly, in a stack of trees that classifies lines with a particular label, each tree therein is constructed from a training set having lines with different values of the particular label.

[0151] For each line of the training set, a computer and/or operator determines the values of a set of potential features and the classifying labels (194).

[0152] The potential features include one-ended measured and derived electrical properties that may be used in the tests of the decision tree. The potential electrical properties of one embodiment are listed in Appendix A. The potential features also include values of any auxiliary variables that may be used in the tests of the decision tree. For example, a decision tree used in step 177 of FIG. 17 would also include, as potential features, auxiliary variables determining whether a line is nominal and preliminarily qualified for preselected data services.

[0153] The classifying labels are the values of the auxiliary variables output by the decision tree. The values of these output auxiliary variables may, for example, include a determination of whether a line is nominal, qualified, or has a bridged tap.

[0154] Determinations of values of the classifying labels for the lines of the training set may use both one-ended and two-ended electrical measurements. For example, to classify a line of the training set as nominal or non-nominal a two-ended measurement of the actual attenuation and a one-ended measurement of the predicted attenuation are needed. Similarly, to determine the classifying label associated with qualification for data services, two-ended measurements of the actual attenuation are used. The two-ended measurements are not, however, used as inputs in the construction of decision trees.

[0155] From the values of the potential features and classifying labels of each line in the training set, the computer 46 recursively determines the branching tests of the decision tree (step 196).

[0156]FIG. 22 is a flow chart for a method 200 of determining the branching tests of the decision tree 180 shown in FIGS. 19-20. For each potential feature, the computer 46 constructs a test and partitions the training set into groups of disjoint subsets (step 202). The test associated with a feature assigns each line of the training set to subsets according to a value of that feature for the line.

[0157] The computer 46 evaluates gain ratio criteria for the partitioning of the training set produced by each potential feature (step 204). The gain ratio criteria measures increases in consistency of line membership for different values of the classification label in each subset. The computer 46 uses the gain ratio criteria to find a best test and defines test 1 of the decision tree 180 to be the best test (step 206).

[0158] The computer loops back to perform steps 202, 204, and 206 for each subset produced by test 1 to determine the tests of level 2 of the decision tree 180 (loop 208). In these determinations, the subsets produced by the best test of level 1 become training sets for finding the tests of level 2. After performing steps 202, 204, and 206 for the subsets 1 and 2, the computer 46 has determined the tests 1.1 and 1.2 of the level 2 (loop 208). The computer 46 performs loop 208 either until further branches produce line classification errors below a preselected threshold or until no features remain.

[0159] Several methods exist for defining the best branching tests at each level of the decision tree 180 of FIG. 19. The C4.5 method defines best tests as tests producing the highest values of the gain ratio criteria. The C4.5^(*) method randomly picks the best tests from the tests whose values of the gain ratio criteria are within a preselected selection percentage of the highest value.

[0160] The C4.5⁺algorithm predicts probabilities that a line with features “d” will be partitioned into each final subset of the decision tree. The probability that the line will be in the majority final subset L is:

P _(L)(d)=1−(Σ_((j not in L)) N _(j)+1)/(Σ_((i in L)) N _(i)+2).

[0161] Here, N_(i) is the number of lines in subset “i”. The probability that the line will be in a subset “i” is:

P _(i)(d)=[1−P _(L)(d)](N _(i) /Σ _((j in L))N_(j)).

[0162] In embodiments using the C4.5* algorithm, the above-described probabilities are the auxiliary variables used as features in the steps 175-177 of FIG. 17.

[0163] Various embodiments combine the methods of detecting line faults (70, 90), determining lines structures (140, 160), and stacking fault detection (170), shown in FIGS. 7, 8, 13, 15, 17. By combining the above-mentioned methods, these embodiments can better classify subscriber lines according to a variety of criteria. These criteria include presence of line conditions and faults, line speed, and qualification status.

[0164] Other embodiments are within the scope of the following claims: 

What is claimed is:
 1. A method of determining a physical structure of a subscriber line, comprising: searching a reference set for a match between the subscriber line and a model line of the reference set, the match being based on electrical properties of the lines; and identifying that the subscriber line has a specific physical structure in response to finding a match with one of the model lines that has the specific physical structure.
 2. The method of claim 1, further comprising: performing electrical measurements to determine the electrical properties, the electrical measurements being one-ended measurements.
 3. The method of claim 2, wherein the act of searching comprises: evaluating an error function for each model line to determine quality of the match between values of the electrical properties of the model and subscriber lines.
 4. The method of claim 2, wherein the one-ended measurements determine one of a tip-to-ring admittance, a tip-to-ground admittance, and a ring-to-ground admittance.
 5. The method of claim 4, wherein the electrical properties include a quantity representative of a phase of an impedance of the subscriber line.
 6. The method of claim 4, wherein the act of performing includes transmitting a voltage signal to the subscriber line through a test access of a switch or a DSLAM device.
 7. The method of claim 2, wherein the act of identifying indicates that the subscriber line has one or more bridged taps in response to the matching model line having one or more bridged taps.
 8. The method of claim 2, wherein the act of identifying indicates that the subscriber line has a mixture of gauges in response to the matching model having a mixture of gauges.
 9. The method of claim 2, wherein the act of searching for comprises: looking up values of the electrical properties of the model lines in a data storage device.
 10. The method of claim 2, wherein the act of searching comprises: computing values of a portion of the electrical properties of the model lines using a reference equation.
 11. The method of claim 2, wherein the one-ended measurements are performed at a plurality of frequencies.
 12. The method of claim 11, further comprising: calculating a value of signal attenuation for the subscriber line from the one-ended measurements; and increasing the calculated value in response to determining that the line has a bridged tap.
 13. A method of qualifying a subscriber line for a data service, comprising: searching a reference set of model lines for a best match to a subscriber line by comparing sets of electrical properties; determining that the subscriber line has a specific physical structure in response to the best matching model line having the specific physical structure; and disqualifying the subscriber line for the data service, in part, in response to determining that the specific physical structure corresponds to a disqualified line.
 14. The method of claim 13, wherein the electrical properties are obtained from one-ended measurements on the subscriber line.
 15. The method of claim 14, wherein the act of searching for a best match comprises: evaluating an error function for each model line to determine quality of correspondence between the electrical properties of the model line and of the subscriber line.
 16. The method of claim 14, wherein the compared properties include a quantity indicative of the phase an impedance of the subscriber line.
 17. The method of claim 14, further comprising: making one-ended electrical measurements on the subscriber line at a plurality of frequencies to obtain the electrical properties.
 18. The method of claim 17, further comprising: calculating a value of signal attenuation for the subscriber line from the one-ended measurements; and increasing the value in response to determining that the line has a bridged tap.
 19. The method of claim 18, wherein the act of disqualifying is responsive to the increased value being greater than a predetermined threshold value for the data service.
 20. The method of claim 17, wherein the one-ended measurements determine one of a tip-to-ring admittance, a tip-to-ground admittance, and a ring-to-ground admittance.
 21. The method of claim 17, wherein the making one-ended measurements includes driving the subscriber line through a test access of a switch or DSLAM device.
 22. A method of providing a data service, comprising: searching a reference set of model lines for a best match to a subscriber's line by comparing measured electrical properties to properties of the model lines; determining whether the subscriber's line is qualified for the data service based in part on whether the best matching model line has a one of a bridged tap and a mixture of gauges; and performing a business action in response to determining that the subscriber's line is qualified.
 23. The method of claim 22, wherein the business action includes offering one of the data service and a service quality-level agreement to the subscriber.
 24. The method of claim 22, wherein the act of offering comprises: performing one of a repair and a replacement of the subscriber line in response to determining that subscriber line is disqualified.
 25. The method of claim 22, further comprising: repeating the acts of searching, determining, and performing for a plurality of subscriber lines connected to one telephony switch or one DSLAM device.
 26. The method of claim 22, wherein the act of searching for a best match comprises: evaluating an error function for each model line to determine quality of a correspondence between the electrical properties of the model line and the subscriber line.
 27. The method of claim 22, wherein the compared properties include a quantity indicative of a phase of an impedance of the subscriber line.
 28. The method of claim 22, further comprising: performing one-ended electrical measurements at a plurality of frequencies to obtain the electrical properties.
 29. The method of claim 22, wherein the act of determining further comprises: calculating a value of a signal attenuation for the subscriber line from the one-ended measurements; increasing the value in response to determining that the line has a bridged tap or a mixture of gauges; and wherein the act of qualifying is responsive to the increased value being less than a predetermined threshold value for the data service.
 30. A data storage device storing an executable program of instructions for determining a structure of a subscriber line, the instructions to cause a computer to: search a reference set for a match between the subscriber line and a model line of a reference set, the match being based on electrical properties of the lines; and identify that the subscriber line has a specific physical structure in response to finding a match with one of the model lines that has the specific physical structure.
 31. The device of claim 30, wherein the electrical properties are determined from one-ended measurements.
 32. The device of claim 30, wherein the instructions to search cause the computer to: evaluate an error function for each model line to determine quality of the match between values of the electrical properties of the model and subscriber lines.
 33. The device of claim 30, wherein the electrical properties include a quantity representative of a phase of an impedance of the subscriber line.
 34. The device of claim 31, wherein the instructions to identify cause the computer to indicate that the subscriber line has one or more bridged taps in response to the matching model line having one or more bridged taps.
 35. The device of claim 31, wherein the instructions to identify cause the computer to indicate that the subscriber line has a mixture of gauges in response to the matching model having a mixture of gauges.
 36. The device of claim 31, wherein the electrical properties in a property at a plurality of frequencies.
 37. The device of claim 31, the instructions further causing the computer to: calculate a value of signal attenuation for the subscriber line from the one-ended measurements; and increase the calculated value in response to determining that the line has a bridged tap. 